# include"../include/filedesc.h"
# include<stdio.h>
t_node **root;
char* makedirectory(t_node **root,char *fname,char *fullpath);
t_node* search( char *fullpath,t_node **root);
void printtrees(t_node* node ,FILE *fp);
void printcontents(t_node *node,FILE *fp);
char* listdirc( char *path,int flag,char *fpath);
t_node* mem_alloc();
char* deletenodes(t_node **root,char *fullpath);
int insert_node(t_node** root, fd* data);
void delnode( fd *data,char *fullp);
char** tokeniser(char* fullpath);
void deltree(fd *node);
void inserttree(fd *node);
char* movdir(char *src,char *dst,t_node **root);
void modifymove(t_node **root);
t_node* retchild(t_node **node);

